Skip to content

Instantly share code, notes, and snippets.

@aitesam961
aitesam961 / questa_install.md
Last active September 14, 2026 11:37
Install Mentor Graphics Questasim 2021.2 on Ubuntu 24.04 LTS

This guide outlines the process of installing Mentor Graphics Questasim 2021.2 on Ubuntu 24.04LTS (or any modern debian distro).

*Note: This guide makes use of unofficial ways of activating license which is not recommended. If you have access, or can purchase the official license from Siemens, would be the best way. Otherwise, if you are an individual who plans to use it for non commercial use and or for learning purposes, you are more than welcome to follow.

Installing dependecies

sudo apt install libxft2 libxft2:i386 lib32ncurses6
sudo apt install libxext6
sudo apt install libxext6:i386

LLM Wiki

A pattern for building personal knowledge bases using LLMs.

This is an idea file, it is designed to be copy pasted to your own LLM Agent (e.g. OpenAI Codex, Claude Code, OpenCode / Pi, or etc.). Its goal is to communicate the high level idea, but your agent will build out the specifics in collaboration with you.

The core idea

Most people's experience with LLMs and documents looks like RAG: you upload a collection of files, the LLM retrieves relevant chunks at query time, and generates an answer. This works, but the LLM is rediscovering knowledge from scratch on every question. There's no accumulation. Ask a subtle question that requires synthesizing five documents, and the LLM has to find and piece together the relevant fragments every time. Nothing is built up. NotebookLM, ChatGPT file uploads, and most RAG systems work this way.

@P4STH3LL
P4STH3LL / Spicetify & SpotX Guide.md
Last active September 14, 2026 11:25
Spicetify & SpotX (2026) Setup Guide for Spotify using Windows

In 5 steps how to setup SpotX and Spicetify together<3

Themes. Extensions. Custom apps. No-ads.
The ultimate Spotify customization toolkit + a multi-purpose adblocker.

1️⃣ — Uninstall Spotify:

Use the downloaded .bat file to uninstall Spotify:

Office 2021

Method 1: Using my command line

Step 1.1: Open cmd program with administrator rights.

  • First, you need to open cmd in the admin mode, then run all commands below one by one.

Step 1.2: Get into the Office directory in cmd.

  • For x86 and x64
cd /d %ProgramFiles(x86)%\Microsoft Office\Office16
@AHaymond
AHaymond / gist:25587a93094fdffdcdbfeaa90f21337c
Last active September 14, 2026 11:07
Setting up Arch Linux LXC on ProxMox
1. Edit the mirror list located at /etc/pacman.d/mirrorlist and uncomment a preferred mirror (preferrably closest to you)
2. Initialize Pacman GPG Keys
- $> pacman-key --init
- $> pacman-key --populate archlinux
- $> pacman-key --refresh-keys -u --keyserver hkps.pool.sks-keyservers.net
*The use of the --keyserver flag is due to an error that currently occurs when using the default keyserver
3. Reinstall Arch keyring
- $> pacman -S archlinux-keyring
4. Install Yay (if desired)
- Create a user (you cannot run makepkg as root, you must be signed in as a user)
@karpathy
karpathy / microgpt.py
Last active September 14, 2026 11:03
microgpt
"""
The most atomic way to train and run inference for a GPT in pure, dependency-free Python.
This file is the complete algorithm.
Everything else is just efficiency.
@karpathy
"""
import os # os.path.exists
import math # math.log, math.exp
@almahmudbd
almahmudbd / free-ai-api.md
Last active September 14, 2026 11:00
Free Ai Api keys and credits for agentic coding.

Free AI API Keys for Agentic Coding

Usage Tips

  • Do not subscribe to every service at once. Most free credits expire quickly. Test them one by one and move to the next when your current credits run out.
  • Register, verify your account, and claim your credits. Follow each platform's documentation to connect your coding tools.
  • Keep your API keys private. Do not share them publicly. (save or star this gist for future update)

List 1: Top Sites in This Genre